This chapter describes the 10/100-Mbps Ethernet interface configuration and operational commands. It includes the following sections:
Use the following procedure to access the configuration process. This process gives you access to an Ethernet interface's configuration process.
* configuration Config>
The CONFIG prompt (Config>) displays on the console. If the prompt does not appear when you first enter configuration, press enter again.
Config> network 0 Ethernet interface configuration ETH Config>
The Ethernet configuration prompt (ETH Config>), is displayed.
This section describes the 10/100-Mbps Ethernet configuration
commands. Enter the commands at the ETH config>
prompt.
Table 37. Ethernet Configuration Command Summary
Command | Function |
---|---|
? (Help) | Displays all the commands available for this command level or lists the options for specific commands (if available). See "Getting Help". |
Duplex | Sets the duplex mode. (For 10/100-Mbps Ethernet only.) |
IP-Encapsulation | Sets the IP encapsulation as Ethernet (type X'0800'), IEEE (802.3 with SNAP), or both. |
List | Displays the current connector-type, and IP encapsulation. |
Physical-Address | Sets the physical MAC address. |
Speed | Sets the link speed. |
Exit | Returns you to the previous command level. See "Exiting a Lower Level Environment". |
Use the duplex command to set the duplex mode. This command is for 10/100-Mbps Ethernet only.
Note: | The default value of auto is recommended. The value
half-duplex or full-duplex should be specified only if
auto-negotiation does not result in successful activation of the interface or
desired duplex mode. Note when you see the command syntax that the
command for half-duplex or full-duplex is written with an underline between
the words, for example, half_duplex.
If a value other than auto is specified, ensure that the same value is configured on the switch port. After configuring the switch port to match the duplex specified on the 10/100-Mbps Ethernet interface, disable and test the interface. Verify that the actual duplex mode shown on the interface status panel matches the operational value on the switch port. The interface may enter the Up state with mismatched duplex mode. Operating with mismatched duplex modes on the interface and switch port can cause severe performance degradation. See "Configuring Values Other than Auto for Duplex" for information about duplex mode. |
Syntax:
Use the IP-encapsulation command to select Ethernet (Ethernet type X'0800'), IEEE 802.3 (Ethernet 802.3 with SNAP), or both. The default is Ethernet.
The option both enables the 2216 to use Ethernet encapsulation to transmit to hosts that have Ethernet encapsulation and to use IEEE 802.3 encapsulation to transmit to hosts that have IEEE 802.3 encapsulation. If your Ethernet LAN includes some hosts that use one type of encapsulation and some that use the other, entering both enables all of them to communicate.
The option both applies only to unicast frames. If you enter both, you are prompted to enter either ethernet or ieee-802.3 for broadcast and multicast frames.
Syntax:
Example:
Eth Config [1]>ip-encapsulation both How would you like IP broadcast/multicast frames to be sent (ETHER/IEEE-802.3) [ETHER]?
Use the list command to display the current configuration for the 10/100-Mbps Ethernet interface.
Syntax:
Eth Config [2]>list all Connector type: RJ45 (10BASET) IP Encapsulation: ETHER MAC Address: 023456789A56
Use the physical-address command to set the physical (MAC) address.
Syntax:
Note: | Pressing Enter leaves the value the same. Entering 0 causes the device to use the burned-in address. The default is to use the burned-in address. |
Valid Values: Any 12-digit hexadecimal address.
Default Value: burned-in address (indicated by all zeros).
Example:
physical-address MAC address in 00:00:00:00:00:00 form []? 12:15:00:FA:00:FE
Use the speed command to set the speed used by this interface.
Note: | For 10/100-Mbps Ethernet, the default value of auto is
recommended. The values of ten and hundred should
be specified only if auto-negotiation does not result in successful activation
of the interface or desired speed.
If a value other than auto is specified, ensure that the same value is configured on the switch port. After configuring the switch port to match the speed specified on the 10/100-Mbps Ethernet interface, disable and test the interface. If the interface and switch (or hub) port are not configured for identical speed, the interface will not attain the Up state. See "Auto-negotiation on the 10/100-Mbps Ethernet Interface" for information about auto-negotiation. |
Syntax:
To monitor information related to the 10/100-Mbps Ethernet Network Interface, access the interface monitoring process by doing the following:
* console
The GWCON prompt (+) is displayed on the console. If the prompt does not appear when you first enter GWCON, press enter again.
+ configuration
See "Configuration" for sample output of the configuration command.
+ network 0 ETH>
The Ethernet monitoring prompt is displayed. You can now view information about the Ethernet interface by entering monitoring commands.
This section summarizes the 10/100-Mbps Ethernet monitoring
commands. Enter commands at the ETH> prompt.
Table 38. Ethernet Monitoring Command Summary
Command | Function |
---|---|
? (Help) | Displays all the commands available for this command level or lists the options for specific commands (if available). See "Getting Help". |
Collisions | Displays collision statistics for the specified Ethernet interface. |
Exit | Returns you to the previous command level. See "Exiting a Lower Level Environment". |
This command displays the counts of transmissions for packets that incurred collisions before successful transmission. Counters are displayed for packets sent after 15 collisions. An increased number of packets transmitted with collisions and higher numbers of collisions per packet are signs of transmitting onto a busy Ethernet.
These counters are cleared by the OPCON CLEAR command. This data is exported via SNMP as the dot3CollTable counter.
Syntax:
Transmitted with 1 collisions:0 Transmitted with 2 collisions:0 Transmitted with 3 collisions:0 Transmitted with 4 collisions:0 Transmitted with 5 collisions:0 Transmitted with 6 collisions:0 Transmitted with 7 collisions:0 Transmitted with 8 collisions:0 Transmitted with 9 collisions:0 Transmitted with 10 collisions:0 Transmitted with 11 collisions:0 Transmitted with 12 collisions:0 Transmitted with 13 collisions:0 Transmitted with 14 collisions:0 Transmitted with 15 collisions:0
This section describes dynamic reconfiguration (DR) as it affects Talk 6 and Talk 5 commands.
Ethernet supports the CONFIG (Talk 6) delete interface command with no restrictions.
Ethernet supports the GWCON (Talk 5) activate interface command with no restrictions.
All Ethernet interface-specific commands are supported by the GWCON (Talk 5) activate interface command.
Ethernet supports the GWCON (Talk 5) reset interface command with no restrictions.
All Ethernet interface-specific commands are supported by the GWCON (Talk 5) reset interface command.